import comm from '../service/comm'

export default {
    getRealTimeData: (type, datas) => {
        let X1HybridG3 = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[11], datas[12]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[7])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[8])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[2])
            },
            "GridBPower": {
                "value": 0
            },
            "GridCPower": {
                "value": 0
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[48], datas[49])
            },
            "BAT_Power": {
                "value": comm.bit16(0, datas[18])
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[50], datas[51]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[52], datas[53]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[10])
            },
            "EPSAPower": {
                "value": comm.bit16(1, datas[43])
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[3]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[4]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[5]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[6]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": comm.bit16(1, datas[44]) * 0.1
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": comm.bit16(1, datas[45]) * 0.1
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": comm.bit16(1, datas[20])
            },
            "BatteryVoltage": {
                "value": comm.bit16(1, datas[16]) * 0.01
            },
            "BatteryTemperature": {
                "value": comm.bit16(0, datas[19])
            }
        };
        let X1BoostAirMini = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[11], datas[12]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[7])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[8])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[2])
            },
            "GridBPower": {
                "value": 0
            },
            "GridCPower": {
                "value": 0
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[48], datas[49])
            },
            "BAT_Power": {
                "value": 0
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[50], datas[51]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[52], datas[53]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[10])
            },
            "EPSAPower": {
                "value": 0
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[3]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[4]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[5]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[6]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": 0
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": 0
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": 0
            },
            "BatteryVoltage": {
                "value": 0
            },
            "BatteryTemperature": {
                "value": 0
            }
        };
        let X3HybridG1 = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[21]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[19], datas[20]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[13])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[14])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[6])
            },
            "GridBPower": {
                "value": comm.bit16(0, datas[7])
            },
            "GridCPower": {
                "value": comm.bit16(0, datas[8])
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[65], datas[66])
            },
            "BAT_Power": {
                "value": comm.bit16(0, datas[26])
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[67], datas[68]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[69], datas[70]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[18])
            },
            "EPSAPower": {
                "value": comm.bit16(1, datas[51])
            },
            "EPSBPower": {
                "value": comm.bit16(1, datas[52])
            },
            "EPSCPower": {
                "value": comm.bit16(1, datas[53])
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[9]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[10]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[11]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[12]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": comm.bit16(1, datas[54]) * 0.1
            },
            "EPSBVoltage": {
                "value": comm.bit16(1, datas[55]) * 0.1
            },
            "EPSCVoltage": {
                "value": comm.bit16(1, datas[56]) * 0.1
            },
            "EPSACurrent": {
                "value": comm.bit16(1, datas[57]) * 0.1
            },
            "EPSBCurrent": {
                "value": comm.bit16(1, datas[58]) * 0.1
            },
            "EPSCCurrent": {
                "value": comm.bit16(1, datas[59]) * 0.1
            },
            "BatteryCapacity": {
                "value": comm.bit16(1, datas[28])
            },
            "BatteryVoltage": {
                "value": comm.bit16(1, datas[24]) * 0.01
            },
            "BatteryTemperature": {
                "value": comm.bit16(0, datas[27])
            }
        };
        let X320K30K = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[21]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[19], datas[20]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[13])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[14])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[6])
            },
            "GridBPower": {
                "value": comm.bit16(0, datas[7])
            },
            "GridCPower": {
                "value": comm.bit16(0, datas[8])
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[73], datas[74])
            },
            "BAT_Power": {
                "value": 0
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[75], datas[76]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[77], datas[78]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[18])
            },
            "EPSAPower": {
                "value": 0
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[9]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[10]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[11]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[12]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": 0
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": 0
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": 0
            },
            "BatteryVoltage": {
                "value": 0
            },
            "BatteryTemperature": {
                "value": 0
            }
        };
        let X3Mic = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[21]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[19], datas[20]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[13])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[14])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[6])
            },
            "GridBPower": {
                "value": comm.bit16(0, datas[7])
            },
            "GridCPower": {
                "value": comm.bit16(0, datas[8])
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[74], datas[75])
            },
            "BAT_Power": {
                "value": 0
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[76], datas[77]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[78], datas[79]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[18])
            },
            "EPSAPower": {
                "value": 0
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[9]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[10]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[11]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[12]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": 0
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": 0
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": 0
            },
            "BatteryVoltage": {
                "value": 0
            },
            "BatteryTemperature": {
                "value": 0
            }
        };
        let X1BoostPro = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[11], datas[12]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[7])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[8])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[2])
            },
            "GridBPower": {
                "value": 0
            },
            "GridCPower": {
                "value": 0
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[48], datas[49])
            },
            "BAT_Power": {
                "value": 0
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[50], datas[51]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[52], datas[53]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[10])
            },
            "EPSAPower": {
                "value": 0
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[3]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[4]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[5]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[6]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": 0
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": 0
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": 0
            },
            "BatteryVoltage": {
                "value": 0
            },
            "BatteryTemperature": {
                "value": 0
            }
        };
        let X1AC = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[11], datas[12]) * 0.1
            },
            "PowerDc1": {
                "value": 0
            },
            "PowerDc2": {
                "value": 0
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[2])
            },
            "GridBPower": {
                "value": 0
            },
            "GridCPower": {
                "value": 0
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[44], datas[45])
            },
            "BAT_Power": {
                "value": comm.bit16(0, datas[16])
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[46], datas[47]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[48], datas[49]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[10])
            },
            "EPSAPower": {
                "value": 0
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": 0
            },
            "Vdc2": {
                "value": 0
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": 0
            },
            "Idc2": {
                "value": 0
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": 0
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": 0
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": comm.bit16(1, datas[18])
            },
            "BatteryVoltage": {
                "value": comm.bit16(1, datas[14]) * 0.01
            },
            "BatteryTemperature": {
                "value": comm.bit16(0, datas[17])
            }
        };
        let HybridA1 = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[11], datas[12]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[7])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[8])
            },
            "PowerDc3": {
                "value": comm.bit16(1, datas[126])
            },
            "PowerDc4": {
                "value": comm.bit16(1, datas[127])
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[2])
            },
            "GridBPower": {
                "value": 0
            },
            "GridCPower": {
                "value": 0
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[48], datas[49])
            },
            "BAT_Power": {
                "value": comm.bit16(0, datas[18])
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[50], datas[51]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[52], datas[53]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[10])
            },
            "EPSAPower": {
                "value": comm.bit16(0, datas[43])
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[3]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[4]) * 0.1
            },
            "Vdc3": {
                "value": comm.bit16(1, datas[122]) * 0.1
            },
            "Vdc4": {
                "value": comm.bit16(1, datas[123]) * 0.1
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[5]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[6]) * 0.1
            },
            "Idc3": {
                "value": comm.bit16(1, datas[124]) * 0.1
            },
            "Idc4": {
                "value": comm.bit16(1, datas[125]) * 0.1
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": comm.bit16(1, datas[44]) * 0.1
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": comm.bit16(0, datas[45]) * 0.1
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": comm.bit16(1, datas[20])
            },
            "BatteryVoltage": {
                "value": comm.bit16(1, datas[16]) * 0.01
            },
            "BatteryTemperature": {
                "value": comm.bit16(0, datas[19])
            }
        };
        let J1ESSHB = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[36]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[34], datas[35]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[10])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[13])
            },
            "PowerDc3": {
                "value": comm.bit16(1, datas[16])
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[2])
            },
            "GridBPower": {
                "value": comm.bit16(0, datas[5])
            },
            "GridCPower": {
                "value": 0
            },
            "feedInPower": {
                "value": comm.bit16(0, datas[29])
            },
            "BAT_Power": {
                "value": comm.bit16(0, datas[105])
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[52], datas[53]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[54], datas[55]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[17])
            },
            "EPSAPower": {
                "value": comm.bit16(0, datas[18])
            },
            "EPSBPower": {
                "value": comm.bit16(0, datas[22])
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[8]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[11]) * 0.1
            },
            "Vdc3": {
                "value": comm.bit16(1, datas[14]) * 0.1
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[9]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[12]) * 0.1
            },
            "Idc3": {
                "value": comm.bit16(1, datas[15]) * 0.1
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": comm.bit16(1, datas[19]) * 0.1
            },
            "EPSBVoltage": {
                "value": comm.bit16(1, datas[23]) * 0.1
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": comm.bit16(0, datas[20]) * 0.1
            },
            "EPSBCurrent": {
                "value": comm.bit16(0, datas[24]) * 0.1
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": comm.bit16(1, datas[80])
            },
            "BatteryVoltage": {
                "value": comm.bit16(0, datas[106]) * 0.1
            },
            "BatteryTemperature": {
                "value": comm.bit16(0, datas[82])
            }
        };
        let X3HybridG4 = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[70]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[68], datas[69]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[14])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[15])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[6])
            },
            "GridBPower": {
                "value": comm.bit16(0, datas[7])
            },
            "GridCPower": {
                "value": comm.bit16(0, datas[8])
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[34], datas[35])
            },
            "BAT_Power": {
                "value": comm.bit16(0, datas[41])
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[86], datas[87]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[88], datas[89]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[19])
            },
            "EPSAPower": {
                "value": comm.bit16(1, datas[20])
            },
            "EPSBPower": {
                "value": comm.bit16(1, datas[21])
            },
            "EPSCPower": {
                "value": comm.bit16(1, datas[22])
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[10]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[11]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[12]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": comm.bit16(1, datas[23]) * 0.1
            },
            "EPSBVoltage": {
                "value": comm.bit16(1, datas[24]) * 0.1
            },
            "EPSCVoltage": {
                "value": comm.bit16(1, datas[25]) * 0.1
            },
            "EPSACurrent": {
                "value": comm.bit16(0, datas[26]) * 0.1
            },
            "EPSBCurrent": {
                "value": comm.bit16(0, datas[27]) * 0.1
            },
            "EPSCCurrent": {
                "value": comm.bit16(0, datas[28]) * 0.1
            },
            "BatteryCapacity": {
                "value": comm.bit16(1, datas[103])
            },
            "BatteryVoltage": {
                "value": comm.bit16(1, datas[39]) * 0.01
            },
            "BatteryTemperature": {
                "value": comm.bit16(0, datas[105])
            }
        };
        let X1HybridG4 = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[11], datas[12]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[8])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[9])
            },
            "PowerDc3": {
                "value": 0
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[2])
            },
            "GridBPower": {
                "value": 0
            },
            "GridCPower": {
                "value": 0
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[32], datas[33])
            },
            "BAT_Power": {
                "value": comm.bit16(0, datas[16])
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[34], datas[35]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[36], datas[37]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[10])
            },
            "EPSAPower": {
                "value": comm.bit16(1, datas[28])
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[4]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[5]) * 0.1
            },
            "Vdc3": {
                "value": 0
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[6]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[7]) * 0.1
            },
            "Idc3": {
                "value": 0
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": comm.bit16(1, datas[29]) * 0.1
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": comm.bit16(1, datas[30]) * 0.1
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": comm.bit16(1, datas[18])
            },
            "BatteryVoltage": {
                "value": comm.bit16(1, datas[14]) * 0.01
            },
            "BatteryTemperature": {
                "value": comm.bit16(0, datas[17])
            }
        };
        let X3MicG2 = {
            "Yield_Today": {
                "value": comm.bit16(1, datas[24]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(1, datas[22], datas[23]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit16(1, datas[15])
            },
            "PowerDc2": {
                "value": comm.bit16(1, datas[16])
            },
            "PowerDc3": {
                "value": comm.bit16(1, datas[17])
            },
            "PowerDc4": {
                "value": 0
            },
            "PowerDc5": {
                "value": 0
            },
            "PowerDc6": {
                "value": 0
            },
            "PowerDc7": {
                "value": 0
            },
            "PowerDc8": {
                "value": 0
            },
            "PowerDc9": {
                "value": 0
            },
            "PowerDc10": {
                "value": 0
            },
            "PowerDc11": {
                "value": 0
            },
            "PowerDc12": {
                "value": 0
            },
            "GridAPower": {
                "value": comm.bit16(0, datas[6])
            },
            "GridBPower": {
                "value": comm.bit16(0, datas[7])
            },
            "GridCPower": {
                "value": comm.bit16(0, datas[8])
            },
            "feedInPower": {
                "value": comm.bit32(0, datas[72], datas[73])
            },
            "BAT_Power": {
                "value": 0
            },
            "FeedInEnergy": {
                "value": comm.bit32(1, datas[74], datas[75]) * 0.01
            },
            "ConsumeEnergy": {
                "value": comm.bit32(1, datas[76], datas[77]) * 0.01
            },
            "RunMode": {
                "value": comm.bit16(1, datas[21])
            },
            "EPSAPower": {
                "value": 0
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(1, datas[9]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(1, datas[10]) * 0.1
            },
            "Vdc3": {
                "value": comm.bit16(1, datas[11]) * 0.1
            },
            "Vdc4": {
                "value": 0
            },
            "Vdc5": {
                "value": 0
            },
            "Vdc6": {
                "value": 0
            },
            "Vdc7": {
                "value": 0
            },
            "Vdc8": {
                "value": 0
            },
            "Vdc9": {
                "value": 0
            },
            "Vdc10": {
                "value": 0
            },
            "Vdc11": {
                "value": 0
            },
            "Vdc12": {
                "value": 0
            },
            "Idc1": {
                "value": comm.bit16(1, datas[12]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(1, datas[13]) * 0.1
            },
            "Idc3": {
                "value": comm.bit16(1, datas[14]) * 0.1
            },
            "Idc4": {
                "value": 0
            },
            "Idc5": {
                "value": 0
            },
            "Idc6": {
                "value": 0
            },
            "Idc7": {
                "value": 0
            },
            "Idc8": {
                "value": 0
            },
            "Idc9": {
                "value": 0
            },
            "Idc10": {
                "value": 0
            },
            "Idc11": {
                "value": 0
            },
            "Idc12": {
                "value": 0
            },
            "EPSAVoltage": {
                "value": 0
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": 0
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": 0
            },
            "BatteryVoltage": {
                "value": 0
            },
            "BatteryTemperature": {
                "value": 0
            }
        };
        let X3Big = {
            "Yield_Today": {
                "value": comm.bit16(0, datas[48]) * 0.1
            },
            "Yield_Total": {
                "value": comm.bit32(0, datas[46], datas[47]) * 0.1
            },
            "PowerDc1": {
                "value": comm.bit32(0, datas[89], datas[90])
            },
            "PowerDc2": {
                "value": comm.bit32(0, datas[93], datas[94])
            },
            "PowerDc3": {
                "value": comm.bit32(0, datas[97], datas[98])
            },
            "PowerDc4": {
                "value": comm.bit32(0, datas[101], datas[102])
            },
            "PowerDc5": {
                "value": comm.bit32(0, datas[105], datas[106])
            },
            "PowerDc6": {
                "value": comm.bit32(0, datas[109], datas[110])
            },
            "PowerDc7": {
                "value": comm.bit32(0, datas[113], datas[114])
            },
            "PowerDc8": {
                "value": comm.bit32(0, datas[117], datas[118])
            },
            "PowerDc9": {
                "value": comm.bit32(0, datas[121], datas[122])
            },
            "PowerDc10": {
                "value": comm.bit32(0, datas[125], datas[126])
            },
            "PowerDc11": {
                "value": comm.bit32(0, datas[129], datas[130])
            },
            "PowerDc12": {
                "value": comm.bit32(0, datas[133], datas[134])
            },
            "GridAPower": {
                "value": comm.bit32(0, datas[33], datas[34])
            },
            "GridBPower": {
                "value": comm.bit32(0, datas[35], datas[36])
            },
            "GridCPower": {
                "value": comm.bit32(0, datas[37], datas[38])
            },
            "feedInPower": {
                "value": 0
            },
            "BAT_Power": {
                "value": 0
            },
            "FeedInEnergy": {
                "value": 0
            },
            "ConsumeEnergy": {
                "value": 0
            },
            "RunMode": {
                "value": comm.bit16(1, datas[56])
            },
            "EPSAPower": {
                "value": 0
            },
            "EPSBPower": {
                "value": 0
            },
            "EPSCPower": {
                "value": 0
            },
            "Vdc1": {
                "value": comm.bit16(0, datas[87]) * 0.1
            },
            "Vdc2": {
                "value": comm.bit16(0, datas[91]) * 0.1
            },
            "Vdc3": {
                "value": comm.bit16(0, datas[95]) * 0.1
            },
            "Vdc4": {
                "value": comm.bit16(0, datas[99]) * 0.1
            },
            "Vdc5": {
                "value": comm.bit16(0, datas[103]) * 0.1
            },
            "Vdc6": {
                "value": comm.bit16(0, datas[107]) * 0.1
            },
            "Vdc7": {
                "value": comm.bit16(0, datas[111]) * 0.1
            },
            "Vdc8": {
                "value": comm.bit16(0, datas[115]) * 0.1
            },
            "Vdc9": {
                "value": comm.bit16(0, datas[119]) * 0.1
            },
            "Vdc10": {
                "value": comm.bit16(0, datas[123]) * 0.1
            },
            "Vdc11": {
                "value": comm.bit16(0, datas[127]) * 0.1
            },
            "Vdc12": {
                "value": comm.bit16(0, datas[131]) * 0.1
            },
            "Idc1": {
                "value": comm.bit16(0, datas[88]) * 0.1
            },
            "Idc2": {
                "value": comm.bit16(0, datas[92]) * 0.1
            },
            "Idc3": {
                "value": comm.bit16(0, datas[96]) * 0.1
            },
            "Idc4": {
                "value": comm.bit16(0, datas[100]) * 0.1
            },
            "Idc5": {
                "value": comm.bit16(0, datas[104]) * 0.1
            },
            "Idc6": {
                "value": comm.bit16(0, datas[108]) * 0.1
            },
            "Idc7": {
                "value": comm.bit16(0, datas[112]) * 0.1
            },
            "Idc8": {
                "value": comm.bit16(0, datas[116]) * 0.1
            },
            "Idc9": {
                "value": comm.bit16(0, datas[120]) * 0.1
            },
            "Idc10": {
                "value": comm.bit16(0, datas[124]) * 0.1
            },
            "Idc11": {
                "value": comm.bit16(0, datas[128]) * 0.1
            },
            "Idc12": {
                "value": comm.bit16(0, datas[132]) * 0.1
            },
            "EPSAVoltage": {
                "value": 0
            },
            "EPSBVoltage": {
                "value": 0
            },
            "EPSCVoltage": {
                "value": 0
            },
            "EPSACurrent": {
                "value": 0
            },
            "EPSBCurrent": {
                "value": 0
            },
            "EPSCCurrent": {
                "value": 0
            },
            "BatteryCapacity": {
                "value": 0
            },
            "BatteryVoltage": {
                "value": 0
            },
            "BatteryTemperature": {
                "value": 0
            }
        };
        if (type == 3) {
            return X1HybridG3;
        } else if (type == 4) {
            return X1BoostAirMini;
        } else if (type == 5) {
            return X3HybridG1;
        } else if (type == 6) {
            return X320K30K;
        } else if (type == 7) {
            return X3Mic;
        } else if (type == 8) {
            return X1BoostPro;
        } else if (type == 9) {
            return X1AC;
        } else if (type == 10 || type == 11 || type == 12) {
            return HybridA1;
        } else if (type == 13) {
            return J1ESSHB;
        } else if (type == 14) {
            return X3HybridG4;
        } else if (type == 15) {
            return X1HybridG4;
        } else if (type == 16) {
            return X3MicG2;
        } else if (type == 100) {
            return X3Big;
        }
    }
}